/**
 * JAVACC DEMO 1.0
 * @copy right dwusoft company All rights reserved. 
 */
package com.apache.order.dao;

import com.apache.database.db.DaoImpl;

/**
 * description:  订单引擎操作记录
 * @author Hou Dayu 创建时间：2015-8-14  
 */
public class OrderLogMessageDaoImpl extends DaoImpl {

	/**
	 * TODO 简单描述该方法的实现功能（可选）.  
	 * @see com.dwu.database.db.IDao#getSql(int)  
	 */
	public String getSql(int type) {
		String sql = "";
		switch (type) {
		case 1:
			sql = "select count(*) from OrderLogMessage where 1=1 ";
			break;
		case 2:
			sql = " from OrderLogMessage where 1=1 ";
			break;
		default:
			sql = "select count(*) from OrderLogMessage where 1=1 ";
		}
		return sql;
	}

	/**
	 * TODO 简单描述该方法的实现功能（可选）.  
	 * @see com.dwu.database.db.IDao#initSystemCache()  
	 */
	@Override
	public void initSystemCache() {

		// TODO Auto-generated method stub

	}

}
